package com.novel.bean;
/**
 * @ClassName:	Mybookshelf.java
 * @Description:	我的书架类(对应数据库中的mybookshelf)
 * 
 * @author 作者：YF E-mail：
 * @version		V1.0
 * @Date 创建时间	2019年12月29日上午11:25:51
 *
 */
public class Mybookshelf {
	private int id;//我的书架id
	private int userid;//用户id
	private int bookid;//书籍id
	private int howmanychapters;//第几章节
	private int addbookshelf;//是否加入书架 1(加入) 0(不加入)
	private String lastreadtime;//最后阅读时间
	private String addbookshelftime;//加入书架的时间
	
	public Mybookshelf() {
		super();
	}

	public Mybookshelf(int id, int userid, int bookid, int howmanychapters, int addbookshelf, String lastreadtime,
			String addbookshelftime) {
		this.id = id;
		this.userid = userid;
		this.bookid=bookid;
		this.howmanychapters = howmanychapters;
		this.addbookshelf = addbookshelf;
		this.lastreadtime = lastreadtime;
		this.addbookshelftime = addbookshelftime;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getBookid() {
		return bookid;
	}

	public void setBookid(int bookid) {
		this.bookid = bookid;
	}

	public int getHowmanychapters() {
		return howmanychapters;
	}

	public void setHowmanychapters(int howmanychapters) {
		this.howmanychapters = howmanychapters;
	}

	public int getAddbookshelf() {
		return addbookshelf;
	}

	public void setAddbookshelf(int addbookshelf) {
		this.addbookshelf = addbookshelf;
	}

	public String getLastreadtime() {
		return lastreadtime;
	}

	public void setLastreadtime(String lastreadtime) {
		this.lastreadtime = lastreadtime;
	}

	public String getAddbookshelftime() {
		return addbookshelftime;
	}

	public void setAddbookshelftime(String addbookshelftime) {
		this.addbookshelftime = addbookshelftime;
	}

	@Override
	public String toString() {
		return "[id=" + id + ", userid=" + userid + ", bookid=" + bookid + ", howmanychapters="
				+ howmanychapters + ", addbookshelf=" + addbookshelf + ", lastreadtime=" + lastreadtime
				+ ", addbookshelftime=" + addbookshelftime + "]";
	}

	
}
